package com.park.client.service.user;

import java.util.List;

import com.park.client.model.user.UserModel;
import com.park.client.service.base.BaseService;
import com.park.common.util.Result;

public interface UserService extends BaseService<UserModel>{
	
	UserModel login(String username);// 登陆校验
	
	boolean updatePwd(UserModel user);//修改密码
	
    List<UserModel> selectLastRegister();//最新注册用户
    
	boolean uploadPicture(UserModel user);//上传图片
    
    boolean updateAccountStatus(String id);
	
	 UserModel selectByEmail(String email);
	 
	 List<UserModel> selectIntegralRanking();
	 
	 List<UserModel> selectByList( List<UserModel> list);

	 UserModel registerCheck(UserModel user) ;
	 
	 /**
	  * 注册
	  */
	 Result<Boolean> registerUser(UserModel user) ;
}
